
import { IModuleConf } from '@wangeditor/editor'
import { withDavinciLink } from './plugin.ts'
import { elemToHtmlConf } from './parse-elem-html'
import renderElem from './render-elem.ts'
import { insertLinkMenuConf } from './menu/index.ts'


const module: Partial<IModuleConf> = {
  renderElems: [renderElem],
  elemsToHtml: [elemToHtmlConf],
  menus: [insertLinkMenuConf],
  editorPlugin: withDavinciLink
}


export default module
